package com.tpp.base.client;

import com.tpp.base.mapper.CinemaMapper;
import com.tpp.comm.client.CinemaClient;
import com.tpp.comm.pojo.TpCinema;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class CinemaClientImpl implements CinemaClient {

    @Resource
    private CinemaMapper cinemaMapper;

    @Override
    public TpCinema findById(Integer id) {
        return cinemaMapper.selectById(id);
    }
}
